package mapObjects;

import java.awt.*;
import java.util.ArrayList;

import mapData.Coord;

public class Archer extends Unit
{
    
    
    public Archer(Color teamColor, int x, int y)
    {
        type = "archer";
        color = teamColor; //default color
        atk = 3;
        range = 10;
        hp = 50;
        curr = new Coord(x,y);
        dest = new Coord(x,y);
        mvspd = 3;
        aspd = 3;
    }
    
    public Archer(Color teamColor, Coord pos)
    {
        type = "archer";
        color = teamColor; //default color
        atk = 3;
        range = 10;
        hp = 50;
        curr = pos;
        dest =pos;
        mvspd = 3;
        aspd = 3;
    }
    
    public Archer(Color teamColor, int x, int y, ArrayList<Unit> ptr)
    {
        type = "archer";
        color = teamColor; //default color
        atk = 3;
        range = 10;
        hp = 50;
        curr = new Coord(x,y);
        dest = new Coord(x,y);
        mvspd = 3;
        aspd = 3;
        ptrToContainingList = ptr;
    }
    
    public Archer(Color teamColor, Coord pos, ArrayList<Unit> ptr)
    {
        type = "archer";
        color = teamColor; //default color
        atk = 3;
        range = 10;
        hp = 50;
        curr = pos;
        dest =pos;
        mvspd = 3;
        aspd = 3;
        ptrToContainingList = ptr;
    }
    
}